Skip to content

fix(installer): WiX uninstall script paths - #121

Merged
ReenigneArcher merged 1 commit into
masterfrom
fix-installer
Sep 1, 2026
Merged

fix(installer): WiX uninstall script paths#121
ReenigneArcher merged 1 commit into
masterfrom
fix-installer

Conversation

@ReenigneArcher

Copy link
Copy Markdown
Member

Description

Resolve WiX driver uninstall actions to use the Windows folder and the packaged script file id instead of the install root path. This keeps deferred uninstall actions working when the install root is configurable or the installer is patched. The template also adds the WindowsFolder standard directory, and the Windows driver docs now describe the selected install root instead of the hardcoded default path.

Screenshot

Issues Fixed or Closed

Roadmap Issues

Type of Change

  • feat: New feature (non-breaking change which adds functionality)
  • fix: Bug fix (non-breaking change which fixes an issue)
  • docs: Documentation only changes
  • style: Changes that do not affect the meaning of the code (white-space, formatting, missing semicolons, etc.)
  • refactor: Code change that neither fixes a bug nor adds a feature
  • perf: Code change that improves performance
  • test: Adding missing tests or correcting existing tests
  • build: Changes that affect the build system or external dependencies
  • ci: Changes to CI configuration files and scripts
  • chore: Other changes that don't modify src or test files
  • revert: Reverts a previous commit
  • BREAKING CHANGE: Introduces a breaking change (can be combined with any type above)

Checklist

  • Code follows the style guidelines of this project
  • Code has been self-reviewed
  • Code has been commented, particularly in hard-to-understand areas
  • Code docstring/documentation-blocks for new or existing methods/components have been added or updated
  • Unit tests have been added or updated for any new or modified functionality

AI Usage

See our AI usage policy.

  • None: No AI tools were used in creating this PR
  • Light: AI provided minor assistance (formatting, simple suggestions)
  • Moderate: AI helped with code generation or debugging specific parts
  • Heavy: AI generated most or all of the code changes

Resolve WiX driver uninstall actions to use the Windows folder and the packaged script file id instead of the install root path. This keeps deferred uninstall actions working when the install root is configurable or the installer is patched. The template also adds the WindowsFolder standard directory, and the Windows driver docs now describe the selected install root instead of the hardcoded default path.
@sonarqubecloud

Copy link
Copy Markdown

@codecov

codecov Bot commented Aug 31, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 73.34%. Comparing base (2658471) to head (45e88ff).
✅ All tests successful. No failed tests found.

Additional details and impacted files

Impacted file tree graph

@@            Coverage Diff             @@
##           master     #121      +/-   ##
==========================================
- Coverage   73.38%   73.34%   -0.05%     
==========================================
  Files          34       34              
  Lines        9235     9235              
  Branches     3439     3439              
==========================================
- Hits         6777     6773       -4     
- Misses       1794     2138     +344     
+ Partials      664      324     -340     
Flag Coverage Δ
FreeBSD 52.57% <ø> (ø)
Linux-Clang 54.96% <ø> (ø)
Linux-GCC 65.77% <ø> (-0.02%) ⬇️
Windows-MSVC 88.22% <ø> (ø)
Windows-MinGW-UCRT64 62.95% <ø> (-0.07%) ⬇️
macOS 48.66% <ø> (ø)

Flags with carried forward coverage won't be shown. Click here to find out more.
see 12 files with indirect coverage changes


Continue to review full report in Codecov by Harness.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 2658471...45e88ff. Read the comment docs.

@ReenigneArcher
ReenigneArcher merged commit 0dac91d into master Sep 1, 2026
32 checks passed
@ReenigneArcher
ReenigneArcher deleted the fix-installer branch September 1, 2026 01:16
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Windows MSI: cannot uninstall if does not use default location to install

1 participant